package com.slkj.shilixiaoyuanapp.entity;

import com.contrarywind.interfaces.IPickerViewData;

import java.util.ArrayList;
import java.util.List;

/**
 * Created  on 2018-08-20
 *
 * @author 唐开阔
 * @describe 印章 选择spr和印章类型
 */
public class ToolOfficialSealChoseEntity {

    private ArrayList<PeopleEntity> auditor;
    private List<TypeEntity> type;

    public ArrayList<PeopleEntity> getAuditor() {
        return auditor;
    }

    public void setAuditor(ArrayList<PeopleEntity> auditor) {
        this.auditor = auditor;
    }

    public List<TypeEntity> getType() {
        return type;
    }

    public void setType(List<TypeEntity> type) {
        this.type = type;
    }


    public static class TypeEntity implements IPickerViewData {
        /**
         * id : 1
         * name : 学校章
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String getPickerViewText() {
            return name;
        }
    }
}
